package com.cbs.module.friend.sample;

import com.cbs.module.friend.FriendModule;
import com.cbs.application.CBSApplication;
import com.cbs.applicationutils.Global;
import com.cbs.log.L;
import com.cbs.module.user.UserModule;
import com.cbs.module.user.ui.UISetting;
import com.cbs.module.user.ui.UserModuleUI;

/**
 * Created by broche on 1/11/16.
 */
public class MyApplication extends CBSApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        Global.setServerHost("http://192.168.58.12");
        Global.getHttpClient().setDebug(true);
        L.setLogLevel(L.DEBUG);
        UserModule.init(this);
        UserModuleUI.init(new UISetting());
        FriendModule.init(this);
        UserModule.setDebug(true);
        UserModuleUI.setDebug(true);
        FriendModule.setDebug(true);
    }
}
